.class public Lcom/netease/newsreader/activity/CustomColumn;
.super Lcom/netease/newsreader/activity/BaseActivity;
.source "CustomColumn.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/netease/newsreader/activity/CustomColumn$ButtonItem;,
        Lcom/netease/newsreader/activity/CustomColumn$moreDataSetObserver;,
        Lcom/netease/newsreader/activity/CustomColumn$topDataSetObserver;
    }
.end annotation


# static fields
.field public static final HEADLINE:Ljava/lang/String; = "headline"

.field private static final KEY_DELETE:Ljava/lang/String; = "delete"

.field private static final KEY_SORT:Ljava/lang/String; = "sort"

.field private static final MORE:Ljava/lang/String; = "\u66f4\u591a"

.field private static final TOP:Ljava/lang/String; = "\u5bfc\u822a"


# instance fields
.field private adapter:Lcom/netease/newsreader/util/MergeAdapter;

.field private addClickListener:Landroid/view/View$OnClickListener;

.field private appdata:Lcom/netease/newsreader/activity/MyApplication;

.field private customColumnList:Lcom/netease/newsreader/util/DragableListView;

.field private delTopClickListener:Landroid/view/View$OnClickListener;

.field private finishClickListener:Landroid/view/View$OnClickListener;

.field private itemClickListener:Landroid/widget/AdapterView$OnItemClickListener;

.field private moreAdapter:Lcom/netease/newsreader/util/BasePageViewAdapter;

.field private moreData:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;>;"
        }
    .end annotation
.end field

.field private moreDataChangedFlag:Z

.field private onDrop:Lcom/netease/newsreader/util/DragableListView$DropListener;

.field themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

.field private topAdapter:Lcom/netease/newsreader/util/BasePageViewAdapter;

.field private topData:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;>;"
        }
    .end annotation
.end field

.field private topDataChangedFlag:Z


# direct methods
.method public constructor <init>()V
    .locals 3

    .prologue
    const/4 v2, 0x0

    const/4 v1, 0x0

    .line 29
    invoke-direct {p0}, Lcom/netease/newsreader/activity/BaseActivity;-><init>()V

    .line 34
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->topData:Ljava/util/ArrayList;

    .line 35
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->moreData:Ljava/util/ArrayList;

    .line 36
    iput-object v1, p0, Lcom/netease/newsreader/activity/CustomColumn;->topAdapter:Lcom/netease/newsreader/util/BasePageViewAdapter;

    .line 37
    iput-object v1, p0, Lcom/netease/newsreader/activity/CustomColumn;->moreAdapter:Lcom/netease/newsreader/util/BasePageViewAdapter;

    .line 38
    iput-object v1, p0, Lcom/netease/newsreader/activity/CustomColumn;->adapter:Lcom/netease/newsreader/util/MergeAdapter;

    .line 236
    new-instance v0, Lcom/netease/newsreader/activity/CustomColumn$1;

    invoke-direct {v0, p0}, Lcom/netease/newsreader/activity/CustomColumn$1;-><init>(Lcom/netease/newsreader/activity/CustomColumn;)V

    iput-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->onDrop:Lcom/netease/newsreader/util/DragableListView$DropListener;

    .line 286
    new-instance v0, Lcom/netease/newsreader/activity/CustomColumn$2;

    invoke-direct {v0, p0}, Lcom/netease/newsreader/activity/CustomColumn$2;-><init>(Lcom/netease/newsreader/activity/CustomColumn;)V

    iput-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->delTopClickListener:Landroid/view/View$OnClickListener;

    .line 307
    new-instance v0, Lcom/netease/newsreader/activity/CustomColumn$3;

    invoke-direct {v0, p0}, Lcom/netease/newsreader/activity/CustomColumn$3;-><init>(Lcom/netease/newsreader/activity/CustomColumn;)V

    iput-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->addClickListener:Landroid/view/View$OnClickListener;

    .line 350
    new-instance v0, Lcom/netease/newsreader/activity/CustomColumn$4;

    invoke-direct {v0, p0}, Lcom/netease/newsreader/activity/CustomColumn$4;-><init>(Lcom/netease/newsreader/activity/CustomColumn;)V

    iput-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->finishClickListener:Landroid/view/View$OnClickListener;

    .line 399
    iput-boolean v2, p0, Lcom/netease/newsreader/activity/CustomColumn;->topDataChangedFlag:Z

    .line 400
    iput-boolean v2, p0, Lcom/netease/newsreader/activity/CustomColumn;->moreDataChangedFlag:Z

    .line 482
    new-instance v0, Lcom/netease/newsreader/activity/CustomColumn$5;

    invoke-direct {v0, p0}, Lcom/netease/newsreader/activity/CustomColumn$5;-><init>(Lcom/netease/newsreader/activity/CustomColumn;)V

    iput-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->itemClickListener:Landroid/widget/AdapterView$OnItemClickListener;

    .line 29
    return-void
.end method

.method private UpdateDisplay()V
    .locals 14

    .prologue
    .line 80
    const/4 v10, 0x0

    .line 81
    .local v10, map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    const-string v0, "top_columns"

    iget-object v1, p0, Lcom/netease/newsreader/activity/CustomColumn;->db:Landroid/database/sqlite/SQLiteDatabase;

    invoke-static {p0, v0, v1}, Lcom/netease/newsreader/util/Tools;->getDataFromDB(Landroid/content/Context;Ljava/lang/String;Landroid/database/sqlite/SQLiteDatabase;)Landroid/database/Cursor;

    move-result-object v7

    .line 82
    .local v7, cursor:Landroid/database/Cursor;
    invoke-virtual {p0, v7}, Lcom/netease/newsreader/activity/CustomColumn;->startManagingCursor(Landroid/database/Cursor;)V

    .line 84
    if-eqz v7, :cond_0

    :try_start_0
    invoke-interface {v7}, Landroid/database/Cursor;->getCount()I

    move-result v0

    if-eqz v0, :cond_0

    .line 85
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->topData:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    .line 87
    invoke-interface {v7}, Landroid/database/Cursor;->moveToFirst()Z

    invoke-interface {v7}, Landroid/database/Cursor;->moveToNext()Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-object v11, v10

    .end local v10           #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    .local v11, map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    :goto_0
    :try_start_1
    invoke-interface {v7}, Landroid/database/Cursor;->isAfterLast()Z
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    move-result v0

    if-eqz v0, :cond_2

    move-object v10, v11

    .line 107
    .end local v11           #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    .restart local v10       #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    :cond_0
    :try_start_2
    const-string v0, "more_columns"

    iget-object v1, p0, Lcom/netease/newsreader/activity/CustomColumn;->db:Landroid/database/sqlite/SQLiteDatabase;

    invoke-static {p0, v0, v1}, Lcom/netease/newsreader/util/Tools;->getDataFromDB(Landroid/content/Context;Ljava/lang/String;Landroid/database/sqlite/SQLiteDatabase;)Landroid/database/Cursor;

    move-result-object v8

    .line 108
    .local v8, cursor2:Landroid/database/Cursor;
    invoke-virtual {p0, v8}, Lcom/netease/newsreader/activity/CustomColumn;->startManagingCursor(Landroid/database/Cursor;)V

    .line 109
    if-eqz v8, :cond_1

    invoke-interface {v8}, Landroid/database/Cursor;->getCount()I

    move-result v0

    if-eqz v0, :cond_1

    .line 110
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->moreData:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    .line 111
    invoke-interface {v8}, Landroid/database/Cursor;->moveToFirst()Z
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_0

    move-object v11, v10

    .end local v10           #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    .restart local v11       #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    :goto_1
    :try_start_3
    invoke-interface {v8}, Landroid/database/Cursor;->isAfterLast()Z
    :try_end_3
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_1

    move-result v0

    if-eqz v0, :cond_3

    move-object v10, v11

    .line 130
    .end local v8           #cursor2:Landroid/database/Cursor;
    .end local v11           #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    .restart local v10       #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    :cond_1
    :goto_2
    new-instance v0, Lcom/netease/newsreader/util/MergeAdapter;

    invoke-direct {v0}, Lcom/netease/newsreader/util/MergeAdapter;-><init>()V

    iput-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->adapter:Lcom/netease/newsreader/util/MergeAdapter;

    .line 146
    new-instance v0, Lcom/netease/newsreader/util/BasePageViewAdapter;

    iget-object v2, p0, Lcom/netease/newsreader/activity/CustomColumn;->topData:Ljava/util/ArrayList;

    .line 147
    const v3, 0x7f03001c

    const/4 v1, 0x2

    new-array v4, v1, [Ljava/lang/String;

    const/4 v1, 0x0

    .line 148
    const-string v5, "tname"

    aput-object v5, v4, v1

    const/4 v1, 0x1

    const-string v5, "sort"

    aput-object v5, v4, v1

    const/4 v1, 0x2

    new-array v5, v1, [I

    fill-array-data v5, :array_0

    .line 150
    const/4 v6, 0x0

    move-object v1, p0

    invoke-direct/range {v0 .. v6}, Lcom/netease/newsreader/util/BasePageViewAdapter;-><init>(Landroid/content/Context;Ljava/util/List;I[Ljava/lang/String;[ILcom/netease/newsreader/util/BaseImageDownloader;)V

    .line 146
    iput-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->topAdapter:Lcom/netease/newsreader/util/BasePageViewAdapter;

    .line 151
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->topAdapter:Lcom/netease/newsreader/util/BasePageViewAdapter;

    new-instance v1, Lcom/netease/newsreader/activity/CustomColumn$ButtonItem;

    const/4 v2, 0x0

    invoke-direct {v1, p0, v2}, Lcom/netease/newsreader/activity/CustomColumn$ButtonItem;-><init>(Lcom/netease/newsreader/activity/CustomColumn;Lcom/netease/newsreader/activity/CustomColumn$ButtonItem;)V

    invoke-virtual {v0, v1}, Lcom/netease/newsreader/util/BasePageViewAdapter;->setViewBinder(Lcom/netease/newsreader/util/BasePageViewAdapter$ViewBinder;)V

    .line 153
    new-instance v0, Lcom/netease/newsreader/util/BasePageViewAdapter;

    iget-object v2, p0, Lcom/netease/newsreader/activity/CustomColumn;->moreData:Ljava/util/ArrayList;

    .line 154
    const v3, 0x7f03001c

    const/4 v1, 0x2

    new-array v4, v1, [Ljava/lang/String;

    const/4 v1, 0x0

    .line 155
    const-string v5, "tname"

    aput-object v5, v4, v1

    const/4 v1, 0x1

    const-string v5, "sort"

    aput-object v5, v4, v1

    const/4 v1, 0x2

    new-array v5, v1, [I

    fill-array-data v5, :array_1

    .line 157
    const/4 v6, 0x0

    move-object v1, p0

    invoke-direct/range {v0 .. v6}, Lcom/netease/newsreader/util/BasePageViewAdapter;-><init>(Landroid/content/Context;Ljava/util/List;I[Ljava/lang/String;[ILcom/netease/newsreader/util/BaseImageDownloader;)V

    .line 153
    iput-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->moreAdapter:Lcom/netease/newsreader/util/BasePageViewAdapter;

    .line 158
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->moreAdapter:Lcom/netease/newsreader/util/BasePageViewAdapter;

    new-instance v1, Lcom/netease/newsreader/activity/CustomColumn$ButtonItem;

    const/4 v2, 0x0

    invoke-direct {v1, p0, v2}, Lcom/netease/newsreader/activity/CustomColumn$ButtonItem;-><init>(Lcom/netease/newsreader/activity/CustomColumn;Lcom/netease/newsreader/activity/CustomColumn$ButtonItem;)V

    invoke-virtual {v0, v1}, Lcom/netease/newsreader/util/BasePageViewAdapter;->setViewBinder(Lcom/netease/newsreader/util/BasePageViewAdapter$ViewBinder;)V

    .line 160
    new-instance v13, Landroid/widget/TextView;

    invoke-direct {v13, p0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    .line 161
    .local v13, topTx:Landroid/widget/TextView;
    const-string v0, "\u5bfc\u822a"

    invoke-virtual {v13, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 163
    const/4 v0, 0x3

    invoke-virtual {v13, v0}, Landroid/widget/TextView;->setGravity(I)V

    .line 164
    const/16 v0, 0x10

    invoke-virtual {v13, v0}, Landroid/widget/TextView;->setGravity(I)V

    .line 165
    const/16 v0, 0xa

    const/4 v1, 0x0

    const/4 v2, 0x0

    const/4 v3, 0x0

    invoke-virtual {v13, v0, v1, v2, v3}, Landroid/widget/TextView;->setPadding(IIII)V

    .line 167
    const v0, 0x7f0a001b

    invoke-virtual {v13, p0, v0}, Landroid/widget/TextView;->setTextAppearance(Landroid/content/Context;I)V

    .line 168
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    const v1, 0x7f080027

    invoke-virtual {v0, p0, v13, v1}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/content/Context;Landroid/widget/TextView;I)V

    .line 169
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    const v1, 0x7f0200ff

    invoke-virtual {v0, p0, v13, v1}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/content/Context;Landroid/view/View;I)V

    .line 172
    new-instance v12, Landroid/widget/TextView;

    invoke-direct {v12, p0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    .line 173
    .local v12, moreTx:Landroid/widget/TextView;
    const-string v0, "\u66f4\u591a"

    invoke-virtual {v12, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 175
    const/4 v0, 0x3

    invoke-virtual {v12, v0}, Landroid/widget/TextView;->setGravity(I)V

    .line 176
    const/16 v0, 0x10

    invoke-virtual {v12, v0}, Landroid/widget/TextView;->setGravity(I)V

    .line 177
    const/16 v0, 0xa

    const/4 v1, 0x0

    const/4 v2, 0x0

    const/4 v3, 0x0

    invoke-virtual {v12, v0, v1, v2, v3}, Landroid/widget/TextView;->setPadding(IIII)V

    .line 179
    const v0, 0x7f0a001b

    invoke-virtual {v12, p0, v0}, Landroid/widget/TextView;->setTextAppearance(Landroid/content/Context;I)V

    .line 180
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    const v1, 0x7f080027

    invoke-virtual {v0, p0, v12, v1}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/content/Context;Landroid/widget/TextView;I)V

    .line 181
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    const v1, 0x7f0200ff

    invoke-virtual {v0, p0, v12, v1}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/content/Context;Landroid/view/View;I)V

    .line 184
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->adapter:Lcom/netease/newsreader/util/MergeAdapter;

    invoke-virtual {v0, v13}, Lcom/netease/newsreader/util/MergeAdapter;->addView(Landroid/view/View;)V

    .line 185
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->adapter:Lcom/netease/newsreader/util/MergeAdapter;

    iget-object v1, p0, Lcom/netease/newsreader/activity/CustomColumn;->topAdapter:Lcom/netease/newsreader/util/BasePageViewAdapter;

    invoke-virtual {v0, v1}, Lcom/netease/newsreader/util/MergeAdapter;->addAdapter(Landroid/widget/ListAdapter;)V

    .line 187
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->adapter:Lcom/netease/newsreader/util/MergeAdapter;

    invoke-virtual {v0, v12}, Lcom/netease/newsreader/util/MergeAdapter;->addView(Landroid/view/View;)V

    .line 188
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->adapter:Lcom/netease/newsreader/util/MergeAdapter;

    iget-object v1, p0, Lcom/netease/newsreader/activity/CustomColumn;->moreAdapter:Lcom/netease/newsreader/util/BasePageViewAdapter;

    invoke-virtual {v0, v1}, Lcom/netease/newsreader/util/MergeAdapter;->addAdapter(Landroid/widget/ListAdapter;)V

    .line 190
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->customColumnList:Lcom/netease/newsreader/util/DragableListView;

    iget-object v1, p0, Lcom/netease/newsreader/activity/CustomColumn;->adapter:Lcom/netease/newsreader/util/MergeAdapter;

    invoke-virtual {v0, v1}, Lcom/netease/newsreader/util/DragableListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 192
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->customColumnList:Lcom/netease/newsreader/util/DragableListView;

    invoke-static {p0}, Lcom/netease/newsreader/util/Tools;->getScreenWidth(Landroid/content/Context;)I

    move-result v1

    iput v1, v0, Lcom/netease/newsreader/util/DragableListView;->dragMaxX:I

    .line 193
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->customColumnList:Lcom/netease/newsreader/util/DragableListView;

    iget-object v1, p0, Lcom/netease/newsreader/activity/CustomColumn;->customColumnList:Lcom/netease/newsreader/util/DragableListView;

    iget v1, v1, Lcom/netease/newsreader/util/DragableListView;->dragMaxX:I

    add-int/lit8 v1, v1, -0x64

    iput v1, v0, Lcom/netease/newsreader/util/DragableListView;->dragMinX:I

    .line 195
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->topAdapter:Lcom/netease/newsreader/util/BasePageViewAdapter;

    new-instance v1, Lcom/netease/newsreader/activity/CustomColumn$topDataSetObserver;

    const/4 v2, 0x0

    invoke-direct {v1, p0, v2}, Lcom/netease/newsreader/activity/CustomColumn$topDataSetObserver;-><init>(Lcom/netease/newsreader/activity/CustomColumn;Lcom/netease/newsreader/activity/CustomColumn$topDataSetObserver;)V

    invoke-virtual {v0, v1}, Lcom/netease/newsreader/util/BasePageViewAdapter;->registerDataSetObserver(Landroid/database/DataSetObserver;)V

    .line 196
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->moreAdapter:Lcom/netease/newsreader/util/BasePageViewAdapter;

    new-instance v1, Lcom/netease/newsreader/activity/CustomColumn$moreDataSetObserver;

    const/4 v2, 0x0

    invoke-direct {v1, p0, v2}, Lcom/netease/newsreader/activity/CustomColumn$moreDataSetObserver;-><init>(Lcom/netease/newsreader/activity/CustomColumn;Lcom/netease/newsreader/activity/CustomColumn$moreDataSetObserver;)V

    invoke-virtual {v0, v1}, Lcom/netease/newsreader/util/BasePageViewAdapter;->registerDataSetObserver(Landroid/database/DataSetObserver;)V

    .line 198
    return-void

    .line 89
    .end local v10           #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    .end local v12           #moreTx:Landroid/widget/TextView;
    .end local v13           #topTx:Landroid/widget/TextView;
    .restart local v11       #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    :cond_2
    :try_start_4
    new-instance v10, Ljava/util/HashMap;

    invoke-direct {v10}, Ljava/util/HashMap;-><init>()V
    :try_end_4
    .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_1

    .line 90
    .end local v11           #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    .restart local v10       #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    :try_start_5
    const-string v0, "tname"

    .line 91
    const-string v1, "tname"

    invoke-interface {v7, v1}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v1

    invoke-interface {v7, v1}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v1

    .line 90
    invoke-virtual {v10, v0, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 92
    const-string v0, "tid"

    .line 93
    const-string v1, "tid"

    invoke-interface {v7, v1}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v1

    invoke-interface {v7, v1}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v1

    .line 92
    invoke-virtual {v10, v0, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 94
    const-string v0, "cid"

    .line 95
    const-string v1, "cid"

    invoke-interface {v7, v1}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v1

    invoke-interface {v7, v1}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v1

    .line 94
    invoke-virtual {v10, v0, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 100
    const-string v0, "sort"

    const-string v1, "sort"

    invoke-virtual {v10, v0, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 103
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->topData:Ljava/util/ArrayList;

    invoke-virtual {v0, v10}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 87
    invoke-interface {v7}, Landroid/database/Cursor;->moveToNext()Z
    :try_end_5
    .catch Ljava/lang/Exception; {:try_start_5 .. :try_end_5} :catch_0

    move-object v11, v10

    .end local v10           #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    .restart local v11       #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    goto/16 :goto_0

    .line 113
    .restart local v8       #cursor2:Landroid/database/Cursor;
    :cond_3
    :try_start_6
    new-instance v10, Ljava/util/HashMap;

    invoke-direct {v10}, Ljava/util/HashMap;-><init>()V
    :try_end_6
    .catch Ljava/lang/Exception; {:try_start_6 .. :try_end_6} :catch_1

    .line 114
    .end local v11           #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    .restart local v10       #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    :try_start_7
    const-string v0, "tname"

    .line 115
    const-string v1, "tname"

    invoke-interface {v7, v1}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v1

    invoke-interface {v8, v1}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v1

    .line 114
    invoke-virtual {v10, v0, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 116
    const-string v0, "tid"

    .line 117
    const-string v1, "tid"

    invoke-interface {v7, v1}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v1

    invoke-interface {v8, v1}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v1

    .line 116
    invoke-virtual {v10, v0, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 118
    const-string v0, "cid"

    .line 119
    const-string v1, "cid"

    invoke-interface {v7, v1}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v1

    invoke-interface {v8, v1}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v1

    .line 118
    invoke-virtual {v10, v0, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 120
    const-string v0, "sort"

    const-string v1, "sort"

    invoke-virtual {v10, v0, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 122
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->moreData:Ljava/util/ArrayList;

    invoke-virtual {v0, v10}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 111
    invoke-interface {v8}, Landroid/database/Cursor;->moveToNext()Z
    :try_end_7
    .catch Ljava/lang/Exception; {:try_start_7 .. :try_end_7} :catch_0

    move-object v11, v10

    .end local v10           #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    .restart local v11       #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    goto/16 :goto_1

    .line 125
    .end local v8           #cursor2:Landroid/database/Cursor;
    .end local v11           #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    .restart local v10       #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    :catch_0
    move-exception v9

    .line 127
    .local v9, e:Ljava/lang/Exception;
    :goto_3
    invoke-virtual {v9}, Ljava/lang/Exception;->printStackTrace()V

    goto/16 :goto_2

    .line 125
    .end local v9           #e:Ljava/lang/Exception;
    .end local v10           #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    .restart local v11       #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    :catch_1
    move-exception v9

    move-object v10, v11

    .end local v11           #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    .restart local v10       #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    goto :goto_3

    .line 148
    :array_0
    .array-data 0x4
        0x89t 0x0t 0xct 0x7ft
        0x8at 0x0t 0xct 0x7ft
    .end array-data

    .line 155
    :array_1
    .array-data 0x4
        0x89t 0x0t 0xct 0x7ft
        0x8at 0x0t 0xct 0x7ft
    .end array-data
.end method

.method static synthetic access$0(Lcom/netease/newsreader/activity/CustomColumn;)Ljava/util/ArrayList;
    .locals 1
    .parameter

    .prologue
    .line 34
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->topData:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic access$1(Lcom/netease/newsreader/activity/CustomColumn;)Ljava/util/ArrayList;
    .locals 1
    .parameter

    .prologue
    .line 35
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->moreData:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic access$10(Lcom/netease/newsreader/activity/CustomColumn;)Landroid/view/View$OnClickListener;
    .locals 1
    .parameter

    .prologue
    .line 286
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->delTopClickListener:Landroid/view/View$OnClickListener;

    return-object v0
.end method

.method static synthetic access$2(Lcom/netease/newsreader/activity/CustomColumn;)Lcom/netease/newsreader/util/BasePageViewAdapter;
    .locals 1
    .parameter

    .prologue
    .line 36
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->topAdapter:Lcom/netease/newsreader/util/BasePageViewAdapter;

    return-object v0
.end method

.method static synthetic access$3(Lcom/netease/newsreader/activity/CustomColumn;)Lcom/netease/newsreader/util/BasePageViewAdapter;
    .locals 1
    .parameter

    .prologue
    .line 37
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->moreAdapter:Lcom/netease/newsreader/util/BasePageViewAdapter;

    return-object v0
.end method

.method static synthetic access$4(Lcom/netease/newsreader/activity/CustomColumn;)Lcom/netease/newsreader/util/MergeAdapter;
    .locals 1
    .parameter

    .prologue
    .line 38
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->adapter:Lcom/netease/newsreader/util/MergeAdapter;

    return-object v0
.end method

.method static synthetic access$5(Lcom/netease/newsreader/activity/CustomColumn;)Lcom/netease/newsreader/util/DragableListView;
    .locals 1
    .parameter

    .prologue
    .line 30
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->customColumnList:Lcom/netease/newsreader/util/DragableListView;

    return-object v0
.end method

.method static synthetic access$6(Lcom/netease/newsreader/activity/CustomColumn;)Z
    .locals 1
    .parameter

    .prologue
    .line 399
    iget-boolean v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->topDataChangedFlag:Z

    return v0
.end method

.method static synthetic access$7(Lcom/netease/newsreader/activity/CustomColumn;Z)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 399
    iput-boolean p1, p0, Lcom/netease/newsreader/activity/CustomColumn;->topDataChangedFlag:Z

    return-void
.end method

.method static synthetic access$8(Lcom/netease/newsreader/activity/CustomColumn;)Z
    .locals 1
    .parameter

    .prologue
    .line 400
    iget-boolean v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->moreDataChangedFlag:Z

    return v0
.end method

.method static synthetic access$9(Lcom/netease/newsreader/activity/CustomColumn;Z)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 400
    iput-boolean p1, p0, Lcom/netease/newsreader/activity/CustomColumn;->moreDataChangedFlag:Z

    return-void
.end method

.method private findViewById()V
    .locals 2

    .prologue
    const/4 v1, 0x0

    .line 66
    const v0, 0x7f0c0086

    invoke-virtual {p0, v0}, Lcom/netease/newsreader/activity/CustomColumn;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/netease/newsreader/util/DragableListView;

    iput-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->customColumnList:Lcom/netease/newsreader/util/DragableListView;

    .line 67
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->customColumnList:Lcom/netease/newsreader/util/DragableListView;

    invoke-virtual {v0, v1}, Lcom/netease/newsreader/util/DragableListView;->setSelected(Z)V

    .line 68
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->customColumnList:Lcom/netease/newsreader/util/DragableListView;

    invoke-virtual {v0, v1}, Lcom/netease/newsreader/util/DragableListView;->setFocusable(Z)V

    .line 69
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->customColumnList:Lcom/netease/newsreader/util/DragableListView;

    invoke-virtual {v0, v1}, Lcom/netease/newsreader/util/DragableListView;->setClickable(Z)V

    .line 74
    return-void
.end method

.method private setListeners()V
    .locals 2

    .prologue
    .line 233
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->customColumnList:Lcom/netease/newsreader/util/DragableListView;

    iget-object v1, p0, Lcom/netease/newsreader/activity/CustomColumn;->onDrop:Lcom/netease/newsreader/util/DragableListView$DropListener;

    invoke-virtual {v0, v1}, Lcom/netease/newsreader/util/DragableListView;->setDropListener(Lcom/netease/newsreader/util/DragableListView$DropListener;)V

    .line 234
    return-void
.end method


# virtual methods
.method public goBackClick(Landroid/view/View;)V
    .locals 11
    .parameter "view"

    .prologue
    const/4 v10, 0x0

    .line 432
    iget-object v4, p0, Lcom/netease/newsreader/activity/CustomColumn;->db:Landroid/database/sqlite/SQLiteDatabase;

    invoke-virtual {v4}, Landroid/database/sqlite/SQLiteDatabase;->beginTransaction()V

    .line 433
    iget-boolean v4, p0, Lcom/netease/newsreader/activity/CustomColumn;->topDataChangedFlag:Z

    if-eqz v4, :cond_0

    .line 434
    iget-object v4, p0, Lcom/netease/newsreader/activity/CustomColumn;->db:Landroid/database/sqlite/SQLiteDatabase;

    const-string v5, "delete from top_columns"

    invoke-virtual {v4, v5}, Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V

    .line 435
    invoke-virtual {p0}, Lcom/netease/newsreader/activity/CustomColumn;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f070003

    invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getStringArray(I)[Ljava/lang/String;

    move-result-object v0

    .line 436
    .local v0, columnArray:[Ljava/lang/String;
    invoke-virtual {p0}, Lcom/netease/newsreader/activity/CustomColumn;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f070004

    invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getStringArray(I)[Ljava/lang/String;

    move-result-object v1

    .line 437
    .local v1, columnTidArray:[Ljava/lang/String;
    const-string v4, "top_columns"

    iget-object v5, p0, Lcom/netease/newsreader/activity/CustomColumn;->db:Landroid/database/sqlite/SQLiteDatabase;

    .line 438
    aget-object v6, v0, v10

    aget-object v7, v1, v10

    const-string v8, ""

    .line 437
    invoke-static {v4, v5, v6, v7, v8}, Lcom/netease/newsreader/util/Tools;->insertDataToDB(Ljava/lang/String;Landroid/database/sqlite/SQLiteDatabase;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    .line 440
    const/4 v3, 0x0

    .local v3, i:I
    :goto_0
    iget-object v4, p0, Lcom/netease/newsreader/activity/CustomColumn;->topData:Ljava/util/ArrayList;

    invoke-virtual {v4}, Ljava/util/ArrayList;->size()I

    move-result v4

    if-lt v3, v4, :cond_2

    .line 451
    iput-boolean v10, p0, Lcom/netease/newsreader/activity/CustomColumn;->topDataChangedFlag:Z

    .line 454
    .end local v0           #columnArray:[Ljava/lang/String;
    .end local v1           #columnTidArray:[Ljava/lang/String;
    .end local v3           #i:I
    :cond_0
    iget-boolean v4, p0, Lcom/netease/newsreader/activity/CustomColumn;->moreDataChangedFlag:Z

    if-eqz v4, :cond_1

    .line 455
    iget-object v4, p0, Lcom/netease/newsreader/activity/CustomColumn;->db:Landroid/database/sqlite/SQLiteDatabase;

    const-string v5, "delete from more_columns"

    invoke-virtual {v4, v5}, Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V

    .line 456
    const/4 v3, 0x0

    .restart local v3       #i:I
    :goto_1
    iget-object v4, p0, Lcom/netease/newsreader/activity/CustomColumn;->moreData:Ljava/util/ArrayList;

    invoke-virtual {v4}, Ljava/util/ArrayList;->size()I

    move-result v4

    if-lt v3, v4, :cond_3

    .line 467
    iput-boolean v10, p0, Lcom/netease/newsreader/activity/CustomColumn;->moreDataChangedFlag:Z

    .line 469
    .end local v3           #i:I
    :cond_1
    iget-object v4, p0, Lcom/netease/newsreader/activity/CustomColumn;->db:Landroid/database/sqlite/SQLiteDatabase;

    invoke-virtual {v4}, Landroid/database/sqlite/SQLiteDatabase;->setTransactionSuccessful()V

    .line 470
    iget-object v4, p0, Lcom/netease/newsreader/activity/CustomColumn;->db:Landroid/database/sqlite/SQLiteDatabase;

    invoke-virtual {v4}, Landroid/database/sqlite/SQLiteDatabase;->endTransaction()V

    .line 478
    iget-object v4, p0, Lcom/netease/newsreader/activity/CustomColumn;->appdata:Lcom/netease/newsreader/activity/MyApplication;

    const/4 v5, 0x1

    invoke-virtual {v4, v5}, Lcom/netease/newsreader/activity/MyApplication;->setIsCustomColumnFinish(Z)V

    .line 479
    invoke-virtual {p0}, Lcom/netease/newsreader/activity/CustomColumn;->finish()V

    .line 480
    return-void

    .line 442
    .restart local v0       #columnArray:[Ljava/lang/String;
    .restart local v1       #columnTidArray:[Ljava/lang/String;
    .restart local v3       #i:I
    :cond_2
    :try_start_0
    const-string v5, "top_columns"

    iget-object v6, p0, Lcom/netease/newsreader/activity/CustomColumn;->db:Landroid/database/sqlite/SQLiteDatabase;

    .line 443
    iget-object v4, p0, Lcom/netease/newsreader/activity/CustomColumn;->topData:Ljava/util/ArrayList;

    invoke-virtual {v4, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/util/HashMap;

    const-string v7, "tname"

    invoke-virtual {v4, v7}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v7

    .line 444
    iget-object v4, p0, Lcom/netease/newsreader/activity/CustomColumn;->topData:Ljava/util/ArrayList;

    invoke-virtual {v4, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/util/HashMap;

    const-string v8, "tid"

    invoke-virtual {v4, v8}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v8

    .line 445
    iget-object v4, p0, Lcom/netease/newsreader/activity/CustomColumn;->topData:Ljava/util/ArrayList;

    invoke-virtual {v4, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/util/HashMap;

    const-string v9, "cid"

    invoke-virtual {v4, v9}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v4

    .line 442
    invoke-static {v5, v6, v7, v8, v4}, Lcom/netease/newsreader/util/Tools;->insertDataToDB(Ljava/lang/String;Landroid/database/sqlite/SQLiteDatabase;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 440
    :goto_2
    add-int/lit8 v3, v3, 0x1

    goto :goto_0

    .line 446
    :catch_0
    move-exception v2

    .line 448
    .local v2, e:Ljava/lang/Exception;
    invoke-virtual {v2}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_2

    .line 458
    .end local v0           #columnArray:[Ljava/lang/String;
    .end local v1           #columnTidArray:[Ljava/lang/String;
    .end local v2           #e:Ljava/lang/Exception;
    :cond_3
    :try_start_1
    const-string v5, "more_columns"

    iget-object v6, p0, Lcom/netease/newsreader/activity/CustomColumn;->db:Landroid/database/sqlite/SQLiteDatabase;

    .line 459
    iget-object v4, p0, Lcom/netease/newsreader/activity/CustomColumn;->moreData:Ljava/util/ArrayList;

    invoke-virtual {v4, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/util/HashMap;

    const-string v7, "tname"

    invoke-virtual {v4, v7}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v7

    .line 460
    iget-object v4, p0, Lcom/netease/newsreader/activity/CustomColumn;->moreData:Ljava/util/ArrayList;

    invoke-virtual {v4, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/util/HashMap;

    const-string v8, "tid"

    invoke-virtual {v4, v8}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v8

    .line 461
    iget-object v4, p0, Lcom/netease/newsreader/activity/CustomColumn;->moreData:Ljava/util/ArrayList;

    invoke-virtual {v4, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/util/HashMap;

    const-string v9, "cid"

    invoke-virtual {v4, v9}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v4

    .line 458
    invoke-static {v5, v6, v7, v8, v4}, Lcom/netease/newsreader/util/Tools;->insertDataToDB(Ljava/lang/String;Landroid/database/sqlite/SQLiteDatabase;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    .line 456
    :goto_3
    add-int/lit8 v3, v3, 0x1

    goto/16 :goto_1

    .line 462
    :catch_1
    move-exception v2

    .line 464
    .restart local v2       #e:Ljava/lang/Exception;
    invoke-virtual {v2}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_3
.end method

.method public onApplyTheme()V
    .locals 3

    .prologue
    .line 529
    invoke-super {p0}, Lcom/netease/newsreader/activity/BaseActivity;->onApplyTheme()V

    .line 530
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    const/high16 v1, 0x7f0c

    const v2, 0x7f080029

    invoke-virtual {v0, p0, v1, v2}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroudColor(Landroid/app/Activity;II)V

    .line 531
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    const v1, 0x7f0c0086

    const v2, 0x7f020070

    invoke-virtual {v0, p0, v1, v2}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setListViewDivider(Landroid/app/Activity;II)V

    .line 532
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    const v1, 0x7f0c0084

    const v2, 0x7f0200fe

    invoke-virtual {v0, p0, v1, v2}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/app/Activity;II)V

    .line 533
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    const v1, 0x7f0c0085

    const v2, 0x7f080023

    invoke-virtual {v0, p0, v1, v2}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/app/Activity;II)V

    .line 535
    iget-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    const v1, 0x7f0c0002

    const v2, 0x7f020041

    invoke-virtual {v0, p0, v1, v2}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setImageViewSrc(Landroid/app/Activity;II)V

    .line 536
    return-void
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .locals 2
    .parameter "icicle"

    .prologue
    .line 49
    invoke-super {p0, p1}, Lcom/netease/newsreader/activity/BaseActivity;->onCreate(Landroid/os/Bundle;)V

    .line 50
    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lcom/netease/newsreader/activity/CustomColumn;->requestWindowFeature(I)Z

    .line 52
    const v0, 0x7f03001a

    invoke-virtual {p0, v0}, Lcom/netease/newsreader/activity/CustomColumn;->setContentView(I)V

    .line 54
    const-string v0, "CUSTOM_COLUMN"

    const-string v1, "CUSTOM_COLUMN"

    invoke-static {p0, v0, v1}, Lcom/netease/mobileanalysis/MobileAgent;->setEvent(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    .line 56
    invoke-virtual {p0}, Lcom/netease/newsreader/activity/CustomColumn;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Lcom/netease/newsreader/activity/MyApplication;

    iput-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->appdata:Lcom/netease/newsreader/activity/MyApplication;

    .line 57
    invoke-virtual {p0}, Lcom/netease/newsreader/activity/CustomColumn;->getThemeSettingsHelper()Lcom/netease/newsreader/util/ThemeSettingsHelper;

    move-result-object v0

    iput-object v0, p0, Lcom/netease/newsreader/activity/CustomColumn;->themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    .line 60
    invoke-direct {p0}, Lcom/netease/newsreader/activity/CustomColumn;->findViewById()V

    .line 61
    invoke-direct {p0}, Lcom/netease/newsreader/activity/CustomColumn;->UpdateDisplay()V

    .line 62
    invoke-direct {p0}, Lcom/netease/newsreader/activity/CustomColumn;->setListeners()V

    .line 63
    return-void
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 2
    .parameter "keyCode"
    .parameter "event"

    .prologue
    const/4 v0, 0x1

    .line 419
    invoke-virtual {p2}, Landroid/view/KeyEvent;->getRepeatCount()I

    move-result v1

    if-le v1, v0, :cond_0

    .line 420
    invoke-super {p0, p1, p2}, Lcom/netease/newsreader/activity/BaseActivity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result v0

    .line 428
    :goto_0
    return v0

    .line 424
    :cond_0
    const/4 v1, 0x4

    if-ne p1, v1, :cond_1

    .line 425
    const/4 v1, 0x0

    invoke-virtual {p0, v1}, Lcom/netease/newsreader/activity/CustomColumn;->goBackClick(Landroid/view/View;)V

    goto :goto_0

    .line 428
    :cond_1
    invoke-super {p0, p1, p2}, Lcom/netease/newsreader/activity/BaseActivity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result v0

    goto :goto_0
.end method
